package com.example.online_exam_system.dto;

import java.util.List;
import java.util.Map;

/**
 * @author lianglong
 * @create 2021-11-29-20:25
 * @describe
 */
public class Page {

    String title;
    String image;
    String href;
    String icon;
    String target;
    List<Map<String,Object>> child;

    public Page(String title, String image, String href) {
        this.title = title;
        this.image = image;
        this.href = href;
    }

    public Page(String title, String href, String icon, String target, List<Map<String,Object>> child) {
        this.title = title;
        this.href = href;
        this.icon = icon;
        this.target = target;
        this.child = child;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public List<Map<String, Object>> getChild() {
        return child;
    }

    public void setChild(List<Map<String, Object>> child) {
        this.child = child;
    }

    public Page(String title, String href) {
        this.title = title;
        this.href = href;
    }

    public Page(String title, String href, String icon, String target) {
        this.title = title;
        this.href = href;
        this.icon = icon;
        this.target = target;
    }

}
